package com.ruoyi.other.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 广播公告对象 e_bulletin
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
public class EBulletin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 公告类型：1.系统通知 2.活动通知 */
    @Excel(name = "公告类型：1.系统通知 2.活动通知")
    private Integer bulletintype;

    /** 公告标题 */
    @Excel(name = "公告标题")
    private String title;

    /** 客户端：1.快递员 2.会员端 3.智能柜终端 */
    @Excel(name = "客户端：1.快递员 2.会员端 3.智能柜终端")
    private Integer client;

    /** 推送时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推送时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushtime;

    /** 语言类型 ：1.中文 2.English */
    @Excel(name = "语言类型 ：1.中文 2.English")
    private Integer languagetype;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationtime;

    /** 广播内容 */
    private String broadcastcontent;

    /** 状态：1.生效中 2.已下架 3.已过期 */
    @Excel(name = "状态：1.生效中 2.已下架 3.已过期")
    private Integer status;

    /** 推送方式：1.即时推送 2.定时推送 */
    @Excel(name = "推送方式：1.即时推送 2.定时推送")
    private Integer pushmethod;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getBulletintype() {
        return bulletintype;
    }

    public void setBulletintype(Integer bulletintype) {
        this.bulletintype = bulletintype;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getClient() {
        return client;
    }

    public void setClient(Integer client) {
        this.client = client;
    }

    public Date getPushtime() {
        return pushtime;
    }

    public void setPushtime(Date pushtime) {
        this.pushtime = pushtime;
    }

    public Integer getLanguagetype() {
        return languagetype;
    }

    public void setLanguagetype(Integer languagetype) {
        this.languagetype = languagetype;
    }

    public Date getCreationtime() {
        return creationtime;
    }

    public void setCreationtime(Date creationtime) {
        this.creationtime = creationtime;
    }

    public String getBroadcastcontent() {
        return broadcastcontent;
    }

    public void setBroadcastcontent(String broadcastcontent) {
        this.broadcastcontent = broadcastcontent;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPushmethod() {
        return pushmethod;
    }

    public void setPushmethod(Integer pushmethod) {
        this.pushmethod = pushmethod;
    }

    @Override
    public String toString() {
        return "EBulletin{" +
                "id=" + id +
                ", bulletintype=" + bulletintype +
                ", title='" + title + '\'' +
                ", client=" + client +
                ", pushtime=" + pushtime +
                ", languagetype=" + languagetype +
                ", creationtime=" + creationtime +
                ", broadcastcontent='" + broadcastcontent + '\'' +
                ", status=" + status +
                ", pushmethod=" + pushmethod +
                '}';
    }
}
